#coding=utf-8

from __future__ import unicode_literals
from django.utils.encoding import python_2_unicode_compatible
from django.db import models

# 主机
class hosts(models.Model):
    host_name = models.CharField('host_name', max_length=255, unique=True, )
    host_ip = models.CharField('host_ip',max_length=255, unique=True,)
    host_beizhu = models.CharField('host_beizhu',max_length=255,unique=True,)

    class Meta:
        verbose_name = '主机'

class project(models.Model):
    name = models.CharField(max_length=255,)
    webapp_path = models.CharField(max_length=255,)

    class Meta:
        verbose_name = '项目'
        #verbose_name_plural = '图片'